<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>个性化推荐</title>
    <style>
      html,
      body {
        height: 100%;
        padding: 0;
        margin: 0;
      }
      body {
        background: #2e7eee;
        background-image: url();
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
      }
      h3 {
        text-align: center;
        color: white;
      }

      form {
        position: relative;
        padding: 30px;
        width: 360px;
        margin: 0 auto;
        border-radius: 5px;
        overflow: hidden;
        font-size: 14px;
        background: white;
        height: 400px;
      }

      .title {
        margin-bottom: 20px;
        text-align: center;
      }

      label {
        display: inline-block;
        line-height: 3.5;
      }

      label .text {
        border: 2px #8fd4ea solid;
        border-radius: 15px;
        padding: 5px 15px;
        margin: 5px;
        color: black;
      }
      input {
        display: none;
      }
      input[type="checkbox"]:checked + .text {
        background-color: #8fd4ea;
        color: white;
      }
      .submit {
        position: absolute;
        bottom: 30px;
        left: 50%;
        transform: translateX(-50%);
      }

      .submit-btn {
        background-color: rgb(31 171 217);
        padding: 10px 20px;
        border-radius: 10px;
        line-height: 1;
        color: white;
      }
      .label-dialog {
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        padding-top: 100px;
        background: rgba(0, 0, 0, 0.5);
      }
    </style>
  </head>
  <body>
    <!-- <h3>在线学习平台</h3> -->
    <div class="label-dialog">
      <form id="form" method="post" action="/customized">
        <div class="title">请选择你感兴趣的技术标签</div>
        <h4>前端开发</h4>
        <label class="interested">
          <input type="checkbox" name="interested" value="微信公众号" />
          <span class="text">微信公众号</span>
        </label>

        <label class="interested">
          <input type="checkbox" name="interested" value="JavaScript" />
          <span class="text">JavaScript</span>
        </label>

        <label class="interested">
          <input type="checkbox" name="interested" value="HTML5" />
          <span class="text">HTML5</span>
        </label>

        <label class="interested">
          <input type="checkbox" name="interested" value="CSS3" />
          <span class="text">CSS3</span>
        </label>
        <h4>其他</h4>
        <label class="interested">
          <input type="checkbox" name="interested" value="Java" />
          <span class="text">Java</span></label
        >
        <label class="interested">
          <input type="checkbox" name="interested" value="Linux" />
          <span class="text">Linux</span>
        </label>
        <label class="interested">
          <input type="checkbox" name="interested" value="C++" />
          <span class="text"> C++</span>
        </label>
        <label class="interested">
          <input type="checkbox" name="interested" value="Python" / >
          <span class="text">Python</span>
        </label>
        <div class="submit">
          <label class="submit-btn">
            <input type="submit" value="Submit" />
            完成
          </label>
        </div>
      </form>
    </div>
  </body>
</html>
